package com.bc.bcmodel.domain;

import java.io.Serializable;
import java.util.Date;
import java.math.BigInteger;
import java.math.BigDecimal;

import com.bc.commonentity.common.PagedRequestBase;

public class T_OrderModel extends PagedRequestBase implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    private BigInteger id;

    public BigInteger getId() {
        return id;
    }

    public void setId(BigInteger id) {
        this.id = id;
    }

    /**
     * 项目编号
     */
    private String pid;

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    /**
     * 购买数量
     */
    private BigDecimal buy_count;

    public BigDecimal getBuy_count() {
        return buy_count;
    }

    public void setBuy_count(BigDecimal buy_count) {
        this.buy_count = buy_count;
    }

    /**
     * bonus比例，用户当前设置的bonus比例
     */
    private BigDecimal bonus;

    public BigDecimal getBonus() {
        return bonus;
    }

    public void setBonus(BigDecimal bonus) {
        this.bonus = bonus;
    }

    /**
     * bonus值
     */
    private BigDecimal bonus_count;

    public BigDecimal getBonus_count() {
        return bonus_count;
    }

    public void setBonus_count(BigDecimal bonus_count) {
        this.bonus_count = bonus_count;
    }

    /**
     * buy_count + bonus_count-佣金（buy_count + bonus _count*0.5）
     */
    private BigDecimal final_buy_count;

    public BigDecimal getFinal_buy_count() {
        return final_buy_count;
    }

    public void setFinal_buy_count(BigDecimal final_buy_count) {
        this.final_buy_count = final_buy_count;
    }

    /**
     * 卖家实际付出数buy_count + bonus_count
     */
    private BigDecimal final_sell_count;

    public BigDecimal getFinal_sell_count() {
        return final_sell_count;
    }

    public void setFinal_sell_count(BigDecimal final_sell_count) {
        this.final_sell_count = final_sell_count;
    }

    /**
     * 下单时商品的汇率
     */
    private BigDecimal token_price;

    public BigDecimal getToken_price() {
        return token_price;
    }

    public void setToken_price(BigDecimal token_price) {
        this.token_price = token_price;
    }

    /**
     * 支付token数
     */
    private BigDecimal buyer_paid;

    public BigDecimal getBuyer_paid() {
        return buyer_paid;
    }

    public void setBuyer_paid(BigDecimal buyer_paid) {
        this.buyer_paid = buyer_paid;
    }

    /**
     * 卖家收到token数（buyer_paid - seller_platform_commission）
     */
    private BigDecimal seller_earned;

    public BigDecimal getSeller_earned() {
        return seller_earned;
    }

    public void setSeller_earned(BigDecimal seller_earned) {
        this.seller_earned = seller_earned;
    }

    /**
     * 买家平台佣金（具体佣金金额）
     */
    private BigDecimal buyer_platform_commission;

    public BigDecimal getBuyer_platform_commission() {
        return buyer_platform_commission;
    }

    public void setBuyer_platform_commission(BigDecimal buyer_platform_commission) {
        this.buyer_platform_commission = buyer_platform_commission;
    }

    /**
     * 买家佣金token类型
     */
    private String buyper_commission_token_type;

    public String getBuyper_commission_token_type() {
        return buyper_commission_token_type;
    }

    public void setBuyper_commission_token_type(String buyper_commission_token_type) {
        this.buyper_commission_token_type = buyper_commission_token_type;
    }

    /**
     * 卖家平台佣金（具体佣金金额）
     */
    private BigDecimal seller_platform_commission;

    public BigDecimal getSeller_platform_commission() {
        return seller_platform_commission;
    }

    public void setSeller_platform_commission(BigDecimal seller_platform_commission) {
        this.seller_platform_commission = seller_platform_commission;
    }

    /**
     * 卖家佣金token类型
     */
    private String seller_commission_token_type;

    public String getSeller_commission_token_type() {
        return seller_commission_token_type;
    }

    public void setSeller_commission_token_type(String seller_commission_token_type) {
        this.seller_commission_token_type = seller_commission_token_type;
    }

    /**
     * Token名称
     */
    private String token_name;

    public String getToken_name() {
        return token_name;
    }

    public void setToken_name(String token_name) {
        this.token_name = token_name;
    }

    /**
     * 支付使用token名称（一期为ETH）
     */
    private String paid_token_name;

    public String getPaid_token_name() {
        return paid_token_name;
    }

    public void setPaid_token_name(String paid_token_name) {
        this.paid_token_name = paid_token_name;
    }

    /**
     * t_user_eth表里的site
     */
    private String token_site;

    public String getToken_site() {
        return token_site;
    }

    public void setToken_site(String token_site) {
        this.token_site = token_site;
    }

    /**
     * 回调状态 0:转账中 1:转账成功 2:转账失败
     */
    private Integer pay_status;

    public Integer getPay_status() {
        return pay_status;
    }

    public void setPay_status(Integer pay_status) {
        this.pay_status = pay_status;
    }

    /**
     * 回调时间
     */
    private Date callback_time;

    public Date getCallback_time() {
        return callback_time;
    }

    public void setCallback_time(Date callback_time) {
        this.callback_time = callback_time;
    }

    /**
     * 创建时间
     */
    private Date create_time;

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    /**
     * 订单编号
     */
    private String oid;

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    /**
     * 卖家用户编号
     */
    private String seller_user_id;

    public String getSeller_user_id() {
        return seller_user_id;
    }

    public void setSeller_user_id(String seller_user_id) {
        this.seller_user_id = seller_user_id;
    }

    /**
     * 买家用户编号
     */
    private String buyer_user_id;

    public String getBuyer_user_id() {
        return buyer_user_id;
    }

    public void setBuyer_user_id(String buyer_user_id) {
        this.buyer_user_id = buyer_user_id;
    }
}